package com.iflytek.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import kotlin.jvm.Transient;
import lombok.Data;

/**
 * @TableName user
 */
@TableName(value = "user")
@Data
public class User implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 电话
     */
    private String phone;

    /**
     * 0未删除，1删除
     */
    private Integer del;

    /**
     * 部门编号
     */
    private String deptCode;

    /**
     * 密码
     */
    private String password;

    @TableField(exist = false)
    private Dept dept;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}